package com.wuhuahe.learning.lagou.service.user.mapper;

import com.wuhuahe.learning.lagou.service.user.pojo.Token;

import java.util.List;

public interface TokenMapper {

    public Token selectTokenById(long id);

    public Token findByEmail(String email);

    List<Token> findByPaging();

    long insertToken(Token token);

    void updateToken(Token token);
}
